package com.cbb.display.util;

import java.util.HashMap;
import java.util.Map;


/** 

* @author 作者 lujunjie: 

* @version 创建时间：Jan 22, 2020 9:37:36 AM 

* 类说明 

*/
public class JobUtil {
	private static Map<String,String> JobMap = new HashMap<String,String>();
	 
    private JobUtil() {}

 
    //获取tokenStrategy对象
    public static  String getJob(String state) {
    	String result = JobMap.get(state);
        return result == null ? null : result;
    }
 
    //将tokenStrategy对象注册到这里
    public static void putJob(String state,String o){
    	JobMap.put(state, o);
    }
}
